﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wolfy.NetDisk.Core.Model
{
    /// <summary>
    /// 角色
    /// </summary>
    public class Role : DeleteEntity
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { set; get; }
        /// <summary>
        /// 多个导航
        /// </summary>
        public virtual ICollection<Navigation> Navigation { set; get; }
        /// <summary>
        /// 一个角色可以对应多个用户
        /// </summary>
        public virtual ICollection<User> Users { set; get; }
    }
}
